package com.banciyuan.wallpaper.util;

import com.google.gson.JsonObject;

import java.util.Map;

/**
 * Created by squall on 2016/8/2.
 */
public class HttpUtils {
    public static String getData(Map<String, String> map) {
        JsonObject jsonObject = new JsonObject();
        for (String s : map.keySet()) {
            jsonObject.addProperty(s, map.get(s));
        }
        return Encrypt.getEncryptedParams(jsonObject.toString());
    }
}
